package autohotkeyide.autocompletion;

import org.fife.ui.autocomplete.CompletionProvider;
import org.fife.ui.autocomplete.ShorthandCompletion;

/**
 * @author sad
 */
public class VariableCompletion extends ShorthandCompletion {

    public VariableCompletion(CompletionProvider provider, String variableName, String help) {
        super(provider, variableName, variableName, null, help);
    }

    public String getVariableName() {
        return getReplacementText();
    }

    public String getVariableHelp() {
        return getSummary();
    }
}
